<#import "/spring.ftl" as spring/>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <title>支付完成</title>
    <script type="text/javascript" src="/vendor/jquery-3.2.1.min.js"></script>
    <link rel="stylesheet" href="<@spring.url '/css/qrcode-redirect.css'/>"/>
    <script>
        $(function() {
            document.addEventListener('back', function (e) {
                 e.preventDefault();
                 AlipayJSBridge.call('closeWebview');
            }, false);
        });
    </script>
</head>

<body>
<div class="content-bg"></div>
<div class="page-title">
    <span>
        <img src="<@spring.url '/images/checked.png'/>" alt="checked"/>
    </span>
    ${amount?string('0.00')}
    <span>元</span>
</div>
<div class="content flat-bottom">
    <div class="field-group">
        <div class="field-name">流水号</div>
        <div class="field-value">${transNo}</div>
    </div>
    <div class="field-group">
        <div class="field-name">支付时间</div>
        <div class="field-value">${transTime}</div>
    </div>
    <div class="field-group last">
        <div class="field-name">支付方式</div>
        <div class="field-value">${paymentType}</div>
    </div>
</div>
<div class="ad">
    <h3>推荐优惠</h3>
    <div class="ad-content">
        <img src="<@spring.url '/images/pipilu.png'/>" alt="pipilu"/>
        <div class="caption">
            <div>皮皮鲁十二生肖定制书优惠券</div>
            <div class="advertiser">皮皮鲁总动员</div>
        </div>
    </div>
    <a class="btn-sm" href="http://shengxiao.pipilu.com/events/coupons">立即领取</a>
</div>
</body>
</html>